<% @title ='Login' %>
<% form_for :user do |form| %>
  <div class="item">
    <span class="label">Email:</span>
    <%= form.text_field :email,
      :size => User::EMAIL_SIZE,
      :maxlength => User::EMAIL_MAX_LENGTH %>
  </div>
  <div class="item">
    <span class="label">Password:</span>
    <%= form.password_field :password,
      :size => User::PASSWORD_SIZE,
      :maxlength => User::PASSWORD_MAX_LENGTH %>
    </div>
  <div class="item">
    <span class="label">Remember me?</span>
    <%= form.check_box :remember_me %>
  </div>
  <%= submit_tag "Login" %>&nbsp;
  <%= link_to "Register", :controller => 'user', :action => 'register' %>
<% end %>
